﻿using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Yqd.Enm;

namespace Yqd.Models
{
    public class Yqd_Task
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }

        public long TaskID { get; set; }

        [StringLength(200)]
        public string TaskName { get; set; }

        [StringLength(50)]
        public string Year { get; set; }

        [StringLength(200)]
        public string ReformTarget { get; set; }

        [StringLength(200)]
        public string LeaderUnitCode { get; set; }

        [StringLength(200)]
        public string LeaderUnitName { get; set; }

        [StringLength(500)]
        public string TaskIDPath { get; set; }

        [StringLength(500)]
        public string FAreaCode { get; set; }

        [StringLength(500)]
        public string TaskPath { get; set; }

        public int TaskProcessStatus { get; set; }

        public int TaskStatus { get; set; }

        [DisplayName("任务类型")]
        [StringLength(200)]
        public string TaskType { get; set; }

        [StringLength(500)]
        public string ConnectMan { get; set; }

        public long ds { get; set; }

        public bool IsShow { get; set; }

        public DateTime CreateTime { get; set; }

        public DateTime InsTime { get; set; }

        public DateTime UpdateTime { get; set; }

        public int Tactic { get; set; }

        public int? ots { get; set; }

        public long Creator { get; set; }
    }

    public class TaskStatusTJ
    {
        public string UnitCode { get; set; }
        public string UnitName { get; set; }
        public int TaskStatus { get; set; }
        public int Num { get; set; }
        public DateTime InsTime { get; set; }
    }

}
